import Vue from 'vue'
import VueRouter from 'vue-router'
import CityView from '../views/CityView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'city',
    component: CityView
  },
  {
    path: '/site',
    name: 'site',
    component: () => import('../views/SiteView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
